Description{Returns the Y position of the gadget relative to its parent gadget/window, or optionally, relative to the specified gadget.}CommandName{gadgetY}HelpPath{General}ReturnValue{int y=}OpenBrace{(}Parameters{handle gadget, [handle relativeToGadget]}CloseBrace{)}ReturnDescription{Y co-ordinate of top edge of gadget relative to parent}Param1{gadget}Param1Desc{Handle to a gadget}Param2Desc{Optional.  Handle of a gadget.  If specified the position of the gadget is returned relative to relativeToGadget.}Param2{[relativeToGadget]}